package main

import (
	"demo/api"
	"demo/inits"
	"github.com/gin-gonic/gin"
)

func main() {
	inits.InitMysql()
	inits.InitRabbitMq()
	r := gin.Default()
	api.Router(r)
	r.Run("localhost:8080")
}
